#pragma once
#ifndef skySocket_h__
#define skySocket_h__
#include "./skyAdapter.h"
#ifdef _SYMBIAN
#include "./symbian/symSocket.h"
#else
#include "./windows/winSocket.h"
#endif

namespace Sky
{
	class Socket : public OSSocket
	{
	
	public:
		TBool open(String* ipAddr,TUint port);
		TVoid close();
		TBool read(u8* lpBuf, TUint nCount,DoneCallback cb);
		TBool write(u8* lpBuf, TUint nCount,DoneCallback cb);
	private:
		
	};
}
#endif
